package com.jasonchoi.eurekaclient1.remote;

import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Component;

/**
 * @Author: JasonChoi
 * @Date: 2020/3/9 11:40
 */

@Log4j2
@Component
public class Client2RemoteCallback implements Client2RemoteService{
    @Override
    public String hello() {
        log.error("client2服务访问异常，请检查!");
        return "开启熔断";
    }
}
